namespace STOWaybillMall.Core
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    //using System.Data.Entity.Spatial;

    [Table("OrderPaymentInfo")]
    public partial class OrderPaymentInfo
    {
        [Key]
        public Guid OrderPaymentID { get; set; }

        public byte? PaymentPattern { get; set; }

        public long? UserID { get; set; }

        [Column(TypeName = "money")]
        public decimal? Payment { get; set; }

        public Guid? OnlinePaymentID { get; set; }

        public byte? CompletePaymentStatus { get; set; }

        [StringLength(32)]
        public string PapmentNo { get; set; }

        [StringLength(64)]
        public string TradeNo { get; set; }

        public DateTime? TradeTime { get; set; }

        public Guid? OfflinePaymentID { get; set; }
    }
}
